package cn.com.lms.business.learning.persistence.entity.vo;

import cn.com.lms.business.learning.persistence.entity.FbLearningStage;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

/*
 * @author liuwei
 * @date 2020/3/24 10:57
 * @desc 用户学习计划详情
 */
@Data
public class UserLearningPlanVo {

    @Schema(description = "计划id")
    private Long id;
    @Schema(description = "计划封面图")
    private String coverUrl;
    @Schema(description = "计划名称")
    private String planName;
    @Schema(description = "创建时间")
    private String createName;
    @Schema(description = "总阶段数")
    private Integer stageCount;
    @Schema(description = "总学时")
    private Integer sumHours;
    @Schema(description = "已学时常")
    private Integer hours;
    @Schema(description = "总任务数")
    private Integer stageDetailCount;
    @Schema(description = "已完成数")
    private Integer finishNum;
    @Schema(description = "剩余天数")
    private Integer diffDays;
    @Schema(description = "计划完成时间")
    private Date finishTime;
    @Schema(description = "创建时间")
    private Date createTime;

    //学习阶段集合
    @Schema(description = "学习阶段集合")
    private List<FbLearningStage> stageList;

}
